package com.css.fxfzxczh.modules.disasterSituationDataManage.samPoiData.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class SamPoiData implements Serializable, IExcelDataModel, IExcelModel {

    private String id;
    //地震事件id
    private String xsemId;
    //省
    @Excel(name = "省")
    private String province;
    //市
    @Excel(name = "市")
    private String city;
    //县
    @Excel(name = "区(县)")
    private String area;
    //详细地址
    @Excel(name = "详细地址")
    private String address;
    //经度
    @Excel(name = "经度")
    private BigDecimal longitude;
    //纬度
    @Excel(name = "纬度")
    private BigDecimal latitude;
    //抽样点编号
    @Excel(name = "抽样点编号")
    private String samplingPointCode;
    //抽样点名称
    @Excel(name = "抽样点名称")
    private String samplingPointName;
    //创建人名称
    @Excel(name = "调查员")
    private String createUserName;
    //创建人
    private String createUser;



    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //更新人
    private String updateUser;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //删除标志 0正常1删除
    private String delFlag;

    //子区id
    private String xstmId;

    //任务id
    private String xitmId;

    //位置信息
    private String geom;

    //0新建，1划定
    private String type;

    private Integer rowNum;
    private String errorMsg;

}
